home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir31
/
pasutl18.zip
/
WAVEFRMT.DOC
< prev
next >
Wrap
Text File
|
1992-10-29
|
976b
|
28 lines
SHORT INFO ON THE ".WAV" FILE FORMAT
------------------------------------
/*\
|*|----====< ".WAV" file format >====----
|*|
|*| 4 bytes 'RIFF'
|*| 4 bytes <length>
|*| 4 bytes 'WAVE'
|*| 4 bytes 'fmt '
|*| 4 bytes <length> ; 10h - length of 'data' block
|*| 2 bytes 01 ; format tag
|*| 2 bytes 01 ; channels (1=mono, 2=stereo)
|*| 4 bytes xxxx ; samples per second
|*| 4 bytes xxxx ; average samples per second
|*| 2 bytes 01 ; block alignment
|*| 2 bytes 08 ; bits per sample
|*| 4 bytes 'data'
|*| 4 bytes <length>
|*| bytes <sample data>
|*|
|*| Note: the sample data must end on an even byte boundary.
|*| All numeric data fields are in the Intel format
|*| of low-high byte ordering.
|*|
\*/